package com.ibeeking.found.cms.api.feign;

import com.ibeeking.found.cms.api.feign.fallback.CmsFeignCFallbackFactory;
import com.ibeeking.nematos.utils.result.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @Author ibeeking
 */
@FeignClient(name = "base-cms-c-server", path = "/c", contextId = "cmsFeignCClient", fallbackFactory = CmsFeignCFallbackFactory.class, decode404 = true)
public interface CmsFeignCClient {


    @PostMapping(value = "/cms/feign/v1/removeCacheByIds")
    ResponseResult<Boolean> removeCacheByIds(@RequestBody Long... ids);
}
